WP_Defender\Component\Rate A

Total Complexity 55
Dependencies 1
Dependents 8
Total lines 473
Lines of code 253
Logical lines of code 151
Comment lines 86
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
is_achievement_displayed()
A
47 11 37
get_notice_by_slug()
A
39 7 82
get_current_page_label()
A
49 10 35
get_label_by_slug()
S
53 7 26
is_required_page()
S
58 2 17
was_rate_request()
S
65 3 9
get_count_scans()
S
74 2 4
run_counter_of_completed_scans()
S
70 2 6
run_counter_of_fixed_scans()
S
70 2 6
run_counter_of_ua_lockouts()
S
70 2 6
run_counter_of_ip_lockouts()
S
70 2 6
get_rate_button_title()
S
79 1 3
get_postpone_button_title()
S
79 1 3
get_dismiss_button_title()
S
79 1 3
reset_counters()
S
71 1 6
was_postponed_request()
S
74 1 4